package com.bookmall.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Discuss {
  private int discussId;
  private int orderId;
  private int bookId;
  private int userId;
  private String content;
  private LocalDateTime createTime;
  private LocalDateTime modifyTime;
  private boolean deleteFlag;
public Discuss() {
	super();
}
public Discuss(int discussId, int orderId, int bookId, int userId, String content, LocalDateTime createTime,
		LocalDateTime modifyTime, boolean deleteFlag) {
	super();
	this.discussId = discussId;
	this.orderId = orderId;
	this.bookId = bookId;
	this.userId = userId;
	this.content = content;
	this.createTime = createTime;
	this.modifyTime = modifyTime;
	this.deleteFlag = deleteFlag;
}
public int getDiscussId() {
	return discussId;
}
public void setDiscussId(int discussId) {
	this.discussId = discussId;
}
public int getOrderId() {
	return orderId;
}
public void setOrderId(int orderId) {
	this.orderId = orderId;
}
public int getBookId() {
	return bookId;
}
public void setBookId(int bookId) {
	this.bookId = bookId;
}
public int getUserId() {
	return userId;
}
public void setUserId(int userId) {
	this.userId = userId;
}
public String getContent() {
	return content;
}
public void setContent(String content) {
	this.content = content;
}
public LocalDateTime getCreateTime() {
	return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
	this.createTime = createTime;
}
public LocalDateTime getModifyTime() {
	return modifyTime;
}
public void setModifyTime(LocalDateTime modifyTime) {
	this.modifyTime = modifyTime;
}
public boolean isDeleteFlag() {
	return deleteFlag;
}
public void setDeleteFlag(boolean deleteFlag) {
	this.deleteFlag = deleteFlag;
}
@Override
public String toString() {
	return "Discuss [discussId=" + discussId + ", orderId=" + orderId + ", bookId=" + bookId + ", userId=" + userId
			+ ", content=" + content + ", createTime=" + createTime + ", modifyTime=" + modifyTime + ", deleteFlag="
			+ deleteFlag + "]";
}
 
  
}
